﻿using System;
using NDBGen.Descriptors.Columns.Tokens;

namespace NDBGen.Descriptors.Columns.DataTypes
{
    /// <summary>Encapsulates basic processing for specific <see cref="DataType" /> values.</summary>
    public interface IColumnDataTypeDescriptor : IDescriptor, IColumnDescriptor
    {
        /// <summary>Gets a <see cref="Boolean" /> value representing whether the .NET code generated for the column requires that the type be made <see cref="Nullable" />.</summary>
        Boolean RequiresNullableModifier(IColumnTokenDescriptor[] descriptors);
    }
}